package user;

import book.BookList;
import operation.IOpeartion;

public abstract class User {
    public String name;
    public abstract int menu();
    public User(String name){
        this.name = name;
    }
    public IOpeartion[] iOpeartions;
/*    public IOpeartion[] iOpeartions;
    public void doOperation(int choice, BookList bookList) {
        this.iOpeartions[choice].work(bookList);
    }*/
    public void doOperation(int choice, BookList bookList) {
    this.iOpeartions[choice].work(bookList);
}
}
